package com.iqiu.cms.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.LogicDelete;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 公告智讯
* gen by Spring Boot2 Admin 2019-03-23
*/
public class CoreNotice extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //标题

    private String title ;
	
    //内容

    private String content ;
	
    //创建时间

    private Date createTime ;
	
    //创建人

    private Integer createUser ;
	
    //类型

    private String type ;
	
	/*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)

    private Integer delFlag ;
	
    public CoreNotice()
    {
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**标题
    *@return 
    */
    public String getTitle(){
	    return  title;
    }
    /**标题
    *@param  title
    */
    public void setTitle(String title){
        this.title = title;
    }

    /**内容
    *@return 
    */
    public String getContent(){
	    return  content;
    }
    /**内容
    *@param  content
    */
    public void setContent(String content){
        this.content = content;
    }

    /**创建时间
    *@return 
    */
    public Date getCreateTime(){
	    return  createTime;
    }
    /**创建时间
    *@param  createTime
    */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    /**创建人
    *@return 
    */
    public Integer getCreateUser(){
	    return  createUser;
    }
    /**创建人
    *@param  createUser
    */
    public void setCreateUser(Integer createUser){
        this.createUser = createUser;
    }

    /**类型
    *@return 
    */
    public String getType(){
	    return  type;
    }
    /**类型
    *@param  type
    */
    public void setType(String type){
        this.type = type;
    }

    public Integer getDelFlag(){
	    return  delFlag;
    }
    public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
    }


}
